body{
    display: flex;
    flex-direction: column;
}

main{
    flex: 1;
    overflow-y: scroll;
    .course-module{
        width: 400px;
        padding: 20px;
        padding-top: 0;
        height: 276px;
        font-size: 16px;
        p{
            line-height: 44px;
        }

        .course-video{
            height: 260px;
            border-radius: 20px;
            background-color: #fff;
            box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
            img{
                height: 205px;
                border-radius: 20px;
                border-bottom-right-radius: 0;
                border-bottom-left-radius: 0;
                width: 100%;
            }
            p{
                line-height: 30px;
                font-size: 16px;
                padding-left: 10px;
            }
            span{
                font-size: 12px;
                color: #999;
                padding-left: 10px;
                margin-top: -4px;
                overflow: hidden;
                text-overflow:ellipsis;
                white-space: nowrap;
            }
        }
    }

    .detailed-course{
        width: 400px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 60px;
        padding-top: 10px;

        p{
            font-size: 16px;
            line-height: 36px;
            margin-top: 30px;
        }

        .pectoral{
            color: #fff;
            /* padding-top: 50px;
            padding-left: 20px; */
            height: 140px;
            border-radius: 20px;
            /* background: url('../imgs/part2.png') no-repeat center; */
            box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
            margin-bottom: 20px;
            position: relative;

            img{
                
                width: 100%;
                height: 140px;
                border-radius: 20px;
            }
            p{
                font-size: 18px;
                z-index: 11;
                position: absolute;
                bottom: 30px;
                left: 20px;
            }
            span{
                font-size: 12px;
                z-index: 11;
                position: absolute;
                bottom: 10px;
                left: 20px;
            }
        }
    }
}